import request from '@/utils/request'
// 获取用户详情
export const getUserinfoAPI = () => {
  return request.get('/sys/profile')
}

export function loginAPI(data) {
  return request.post('/sys/login',
    // mobile: data.mobile,
    // password: data.password
    data)
}
